import java.util.*;
/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: GodK
 * Date: 2024-07-29
 * Time: 21:11
 */
public class Main {
    public static void main(String[] args) {
/*        Scanner in = new Scanner(System.in);
        char[] a = in.nextLine().toCharArray();
        char[] b = in.nextLine().toCharArray();
        int[] arr = new int[26];
        for(char ch : a)arr[ch-'A']++;
        for(char ch : b){
            if(arr[ch-'A'] == 0){
                System.out.println("No");
                return;
            }else{
                arr[ch-'A']--;
            }
        }
        System.out.println("Yes");*/
//        int[] arr = {2,0,1};
//        sortColors(arr);
        System.out.println(new Random().nextInt(5));
    }
    public static void sortColors(int[] nums) {
        int left = 0;
        int right = nums.length - 1;
        for(int i = 0;i <= right;){
            if(nums[i] == 0){
                int tmp = nums[left];
                nums[left++] = nums[i];
                nums[i++] = tmp;
            }else if(nums[i] == 2){
                int tmp = nums[right];
                nums[right--] = nums[i];
                nums[i] = tmp;
            }else{
                i++;
            }
        }
    }
}
